package com.cmol.peopledetectapp.json;

/**
 * json接口
 * 系统日志类
 */
public class AdminLog {

    private static Integer COUNT = 0;
    /**
     * 管理员ID
     */
    private Integer id;
    /**
     * 管理员名
     */
    private Integer adminName;
    /**
     * 操作名
     */
    private String operation;
    /**
     * 操作类型
     */
    private String targetType;
    private Integer targetId;
    /**
     * 操作日期
     */
    private String date;

    public AdminLog(Integer id, Integer adminName, String operation, String targetType, Integer targetId, String date) {

        this.id = id;

        this.adminName = adminName;
        this.operation = operation;
        this.targetType = targetType;
        this.targetId = targetId;
        this.date = date;
    }

    public static Integer getCOUNT() {
        return COUNT;
    }

    public static void setCOUNT(Integer COUNT) {
        AdminLog.COUNT = COUNT;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAdminName() {
        return adminName;
    }

    public void setAdminName(Integer adminName) {
        this.adminName = adminName;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "AdminLog{" +
                "id=" + id +
                ", adminName=" + adminName +
                ", operation='" + operation + '\'' +
                ", targetType='" + targetType + '\'' +
                ", targetId=" + targetId +
                ", date='" + date + '\'' +
                '}';
    }
}

